package com.biubiu.universaladapter.base.vh

import android.view.ViewGroup
import androidx.annotation.LayoutRes
import androidx.databinding.DataBindingUtil
import androidx.databinding.ViewDataBinding
import com.biubiu.universaladapter.base.BaseViewHolder

abstract class BaseDbViewHolder<T, DB: ViewDataBinding>(
    @LayoutRes layoutId: Int, container: ViewGroup
): BaseViewHolder<T>(layoutId, container) {
    @JvmField
    protected var mDataBinding: DB = DataBindingUtil.bind(itemView)!!
}